package TestClass2;

//操作类，用来实现业务

public class Operator {
    public Student  student;
    public Operator(Student student) {
        this.student=student;
    }
    public void IsPass(){
        if(student.GetScore()>60){
            System.out.println(student.GetName()+"及格了~");
        }
        else System.out.println(student.GetName()+"不及格~");
    }
}
